<?php


use Phinx\Seed\AbstractSeed;

class SystemDictDataInit extends AbstractSeed
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * https://book.cakephp.org/phinx/0/en/seeding.html
     */
    public function run()
    {
        $data = [
                   [
      'id' =>        '2035090111136' ,
      'type_id' =>        '2035075124896' ,
      'label' =>       'InnoDB',
      'value' =>       'InnoDB',
      'code' =>       'table_engine',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        '16128263327904' ,
      'updated_by' =>        '16128263327904' ,
      'created_at' =>        '2021-06-27 00:37:11' ,
      'updated_at' =>        '2022-05-26 16:09:48' ,
      'deleted_at' =>        null,
      'remark' =>       'InnoDB',
          ],
       [
      'id' =>        '2035095441568' ,
      'type_id' =>        '2035075124896' ,
      'label' =>       'MyISAM',
      'value' =>       'MyISAM',
      'code' =>       'table_engine',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-06-27 00:37:21' ,
      'updated_at' =>        '2021-06-27 13:33:29' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '2058945281696' ,
      'type_id' =>        '2058928973472' ,
      'label' =>       '本地存储',
      'value' =>       'local',
      'code' =>       'upload_mode',
      'sort' =>        '99' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-06-27 13:33:43' ,
      'updated_at' =>        '2021-06-27 13:33:43' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '2058951566496' ,
      'type_id' =>        '2058928973472' ,
      'label' =>       '七牛云',
      'value' =>       'qiniu',
      'code' =>       'upload_mode',
      'sort' =>        '98' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-06-27 13:33:55' ,
      'updated_at' =>        '2021-06-27 13:33:55' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '2058957471392' ,
      'type_id' =>        '2058928973472' ,
      'label' =>       '阿里云OSS',
      'value' =>       'oss',
      'code' =>       'upload_mode',
      'sort' =>        '97' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-06-27 13:34:07' ,
      'updated_at' =>        '2021-06-27 13:34:07' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '2058963571360' ,
      'type_id' =>        '2058928973472' ,
      'label' =>       '腾讯云COS',
      'value' =>       'cos',
      'code' =>       'upload_mode',
      'sort' =>        '96' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-06-27 13:34:19' ,
      'updated_at' =>        '2021-06-27 13:34:19' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '2059041780384' ,
      'type_id' =>        '2059023428768' ,
      'label' =>       '正常',
      'value' =>       '0',
      'code' =>       'data_status',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-06-27 13:36:51' ,
      'updated_at' =>        '2021-06-27 13:37:01' ,
      'deleted_at' =>        null,
      'remark' =>       '0为正常',
          ],
       [
      'id' =>        '2059051223200' ,
      'type_id' =>        '2059023428768' ,
      'label' =>       '停用',
      'value' =>       '1',
      'code' =>       'data_status',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-06-27 13:37:10' ,
      'updated_at' =>        '2021-06-27 13:37:10' ,
      'deleted_at' =>        null,
      'remark' =>       '1为停用',
          ],
       [
      'id' =>        '3959904132768' ,
      'type_id' =>        '3959885616288' ,
      'label' =>       '统计页面',
      'value' =>       'statistics',
      'code' =>       'dashboard',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-08-09 12:53:53' ,
      'updated_at' =>        '2021-08-09 12:53:53' ,
      'deleted_at' =>        null,
      'remark' =>       '管理员用',
          ],
       [
      'id' =>        '3959916887200' ,
      'type_id' =>        '3959885616288' ,
      'label' =>       '工作台',
      'value' =>       'work',
      'code' =>       'dashboard',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-08-09 12:54:18' ,
      'updated_at' =>        '2021-08-09 12:54:18' ,
      'deleted_at' =>        null,
      'remark' =>       '员工使用',
          ],
       [
      'id' =>        '3959938423968' ,
      'type_id' =>        '3959928216736' ,
      'label' =>       '男',
      'value' =>       '0',
      'code' =>       'sex',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-08-09 12:55:00' ,
      'updated_at' =>        '2021-08-09 12:55:00' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '3959942491808' ,
      'type_id' =>        '3959928216736' ,
      'label' =>       '女',
      'value' =>       '1',
      'code' =>       'sex',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-08-09 12:55:08' ,
      'updated_at' =>        '2021-08-09 12:55:08' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '3959946307744' ,
      'type_id' =>        '3959928216736' ,
      'label' =>       '未知',
      'value' =>       '2',
      'code' =>       'sex',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-08-09 12:55:16' ,
      'updated_at' =>        '2021-08-09 12:55:16' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8126628581024' ,
      'type_id' =>        '8126617434272' ,
      'label' =>       '通知',
      'value' =>       '1',
      'code' =>       'backend_notice_type',
      'sort' =>        '2' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-11 17:29:27' ,
      'updated_at' =>        '2021-11-11 17:30:51' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8126697847456' ,
      'type_id' =>        '8126617434272' ,
      'label' =>       '公告',
      'value' =>       '2',
      'code' =>       'backend_notice_type',
      'sort' =>        '1' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-11 17:31:42' ,
      'updated_at' =>        '2021-11-11 17:31:42' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8259153751712' ,
      'type_id' =>        '8259136986784' ,
      'label' =>       '所有',
      'value' =>       'A',
      'code' =>       'request_mode',
      'sort' =>        '5' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-14 17:23:25' ,
      'updated_at' =>        '2021-11-14 17:23:25' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8259160266912' ,
      'type_id' =>        '8259136986784' ,
      'label' =>       'POST',
      'value' =>       'P',
      'code' =>       'request_mode',
      'sort' =>        '3' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-14 17:23:38' ,
      'updated_at' =>        '2021-11-14 17:23:38' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8259163719840' ,
      'type_id' =>        '8259136986784' ,
      'label' =>       'GET',
      'value' =>       'G',
      'code' =>       'request_mode',
      'sort' =>        '4' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-14 17:23:45' ,
      'updated_at' =>        '2021-11-14 17:23:45' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8259163719842' ,
      'type_id' =>        '8259136986784' ,
      'label' =>       'PUT',
      'value' =>       'U',
      'code' =>       'request_mode',
      'sort' =>        '2' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-14 17:23:45' ,
      'updated_at' =>        '2021-11-14 17:23:45' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8259163719843' ,
      'type_id' =>        '8259136986784' ,
      'label' =>       'DELETE',
      'value' =>       'D',
      'code' =>       'request_mode',
      'sort' =>        '1' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-14 17:23:45' ,
      'updated_at' =>        '2021-11-14 17:23:45' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8645168257696' ,
      'type_id' =>        '8619580222112' ,
      'label' =>       'String',
      'value' =>       '1',
      'code' =>       'api_data_type',
      'sort' =>        '7' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-23 10:49:00' ,
      'updated_at' =>        '2021-11-23 10:49:00' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8645183473312' ,
      'type_id' =>        '8619580222112' ,
      'label' =>       'Integer',
      'value' =>       '2',
      'code' =>       'api_data_type',
      'sort' =>        '6' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-23 10:49:29' ,
      'updated_at' =>        '2021-11-23 10:49:29' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8645187911328' ,
      'type_id' =>        '8619580222112' ,
      'label' =>       'Array',
      'value' =>       '3',
      'code' =>       'api_data_type',
      'sort' =>        '5' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-23 10:49:38' ,
      'updated_at' =>        '2021-11-23 10:49:38' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8645192008352' ,
      'type_id' =>        '8619580222112' ,
      'label' =>       'Float',
      'value' =>       '4',
      'code' =>       'api_data_type',
      'sort' =>        '4' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-23 10:49:46' ,
      'updated_at' =>        '2021-11-23 10:49:46' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8645196093088' ,
      'type_id' =>        '8619580222112' ,
      'label' =>       'Boolean',
      'value' =>       '5',
      'code' =>       'api_data_type',
      'sort' =>        '3' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-23 10:49:54' ,
      'updated_at' =>        '2021-11-23 10:49:54' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8645207885984' ,
      'type_id' =>        '8619580222112' ,
      'label' =>       'Enum',
      'value' =>       '6',
      'code' =>       'api_data_type',
      'sort' =>        '2' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-23 10:50:17' ,
      'updated_at' =>        '2021-11-23 10:50:17' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8645212278944' ,
      'type_id' =>        '8619580222112' ,
      'label' =>       'Object',
      'value' =>       '7',
      'code' =>       'api_data_type',
      'sort' =>        '1' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-11-23 10:50:26' ,
      'updated_at' =>        '2021-11-23 10:50:26' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '8645212278946' ,
      'type_id' =>        '8619580222112' ,
      'label' =>       'File',
      'value' =>       '8',
      'code' =>       'api_data_type',
      'sort' =>        '0' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:32:48' ,
      'updated_at' =>        '2021-12-25 18:32:48' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074768599200' ,
      'type_id' =>        '10074681620640' ,
      'label' =>       '未生产',
      'value' =>       '0',
      'code' =>       'queue_produce_status',
      'sort' =>        '5' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:25:28' ,
      'updated_at' =>        '2021-12-25 18:25:28' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074773797536' ,
      'type_id' =>        '10074681620640' ,
      'label' =>       '生产中',
      'value' =>       '1',
      'code' =>       'queue_produce_status',
      'sort' =>        '4' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:25:38' ,
      'updated_at' =>        '2021-12-25 18:25:38' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074780033696' ,
      'type_id' =>        '10074681620640' ,
      'label' =>       '生产成功',
      'value' =>       '2',
      'code' =>       'queue_produce_status',
      'sort' =>        '3' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:25:50' ,
      'updated_at' =>        '2021-12-25 18:25:50' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074792360608' ,
      'type_id' =>        '10074681620640' ,
      'label' =>       '生产失败',
      'value' =>       '3',
      'code' =>       'queue_produce_status',
      'sort' =>        '2' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:26:14' ,
      'updated_at' =>        '2021-12-25 18:26:14' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074800282272' ,
      'type_id' =>        '10074681620640' ,
      'label' =>       '生产重复',
      'value' =>       '4',
      'code' =>       'queue_produce_status',
      'sort' =>        '1' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:26:30' ,
      'updated_at' =>        '2021-12-25 18:26:30' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074814135968' ,
      'type_id' =>        '10074702532768' ,
      'label' =>       '未消费',
      'value' =>       '0',
      'code' =>       'queue_consume_status',
      'sort' =>        '5' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:26:57' ,
      'updated_at' =>        '2021-12-25 18:26:57' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074819077792' ,
      'type_id' =>        '10074702532768' ,
      'label' =>       '消费中',
      'value' =>       '1',
      'code' =>       'queue_consume_status',
      'sort' =>        '4' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:27:07' ,
      'updated_at' =>        '2021-12-25 18:27:07' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074823951520' ,
      'type_id' =>        '10074702532768' ,
      'label' =>       '消费成功',
      'value' =>       '2',
      'code' =>       'queue_consume_status',
      'sort' =>        '3' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:27:16' ,
      'updated_at' =>        '2021-12-25 18:27:16' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074828146848' ,
      'type_id' =>        '10074702532768' ,
      'label' =>       '消费失败',
      'value' =>       '3',
      'code' =>       'queue_consume_status',
      'sort' =>        '2' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:27:24' ,
      'updated_at' =>        '2021-12-25 18:27:24' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074833623200' ,
      'type_id' =>        '10074702532768' ,
      'label' =>       '消费重复',
      'value' =>       '4',
      'code' =>       'queue_consume_status',
      'sort' =>        '1' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:27:35' ,
      'updated_at' =>        '2021-12-25 18:27:35' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074923844256' ,
      'type_id' =>        '10074866778272' ,
      'label' =>       '通知',
      'value' =>       'notice',
      'code' =>       'queue_msg_type',
      'sort' =>        '1' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:30:31' ,
      'updated_at' =>        '2021-12-25 18:30:31' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074938784928' ,
      'type_id' =>        '10074866778272' ,
      'label' =>       '公告',
      'value' =>       'announcement',
      'code' =>       'queue_msg_type',
      'sort' =>        '2' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:31:00' ,
      'updated_at' =>        '2021-12-25 18:31:00' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074951884448' ,
      'type_id' =>        '10074866778272' ,
      'label' =>       '待办',
      'value' =>       'todo',
      'code' =>       'queue_msg_type',
      'sort' =>        '3' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:31:26' ,
      'updated_at' =>        '2021-12-25 18:31:26' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074951884459' ,
      'type_id' =>        '10074866778272' ,
      'label' =>       '抄送我的',
      'value' =>       'carbon_copy_mine',
      'code' =>       'queue_msg_type',
      'sort' =>        '4' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:31:26' ,
      'updated_at' =>        '2021-12-25 18:31:26' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10074951884666' ,
      'type_id' =>        '10074866778272' ,
      'label' =>       '私信',
      'value' =>       'private_message',
      'code' =>       'queue_msg_type',
      'sort' =>        '5' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2021-12-25 18:31:26' ,
      'updated_at' =>        '2021-12-25 18:31:26' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10695566593184' ,
      'type_id' =>        '10774866789575' ,
      'label' =>       '图片',
      'value' =>       'image',
      'code' =>       'attachment_type',
      'sort' =>        '10' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2022-03-17 14:49:59' ,
      'updated_at' =>        '2022-03-17 14:49:59' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10695577459872' ,
      'type_id' =>        '10774866789575' ,
      'label' =>       '文档',
      'value' =>       'text',
      'code' =>       'attachment_type',
      'sort' =>        '9' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2022-03-17 14:50:20' ,
      'updated_at' =>        '2022-03-17 14:50:49' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10695585910944' ,
      'type_id' =>        '10774866789575' ,
      'label' =>       '音频',
      'value' =>       'audio',
      'code' =>       'attachment_type',
      'sort' =>        '8' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2022-03-17 14:50:37' ,
      'updated_at' =>        '2022-03-17 14:50:52' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],
       [
      'id' =>        '10695590140064' ,
      'type_id' =>        '10774866789575' ,
      'label' =>       '视频',
      'value' =>       'video',
      'code' =>       'attachment_type',
      'sort' =>        '7' ,
      'status' =>       '0',
      'created_by' =>        null,
      'updated_by' =>        null,
      'created_at' =>        '2022-03-17 14:50:45' ,
      'updated_at' =>        '2022-03-17 14:50:57' ,
      'deleted_at' =>        null,
      'remark' =>       '',
          ],

        ];

        $system_dict_data = $this->table('system_dict_data');
        $system_dict_data->insert($data)
            ->save();

        // empty the table
        // $system_dict_data->truncate();
    }
}
